<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>日报详情</h2>
    </div>
    <form action="__SELF__" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">用户名<span class="check-tips">（考勤人员）</span></label>
            <div class="controls">
                {$info.name}
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">标题<span class="check-tips">（日报标题）</span></label>
            <div class="controls">
                {$info.title}
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">日报详情</label>
            <div class="controls">
                {$info.content}
            </div>
        </div>

        <div class="form-item">
            <input type="hidden" name="id" value="{$info.id|default=''}">
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        // Think.setValue("type", {$info.type|default=0});
        // Think.setValue("group", {$info.group|default=0});
        //导航高亮
        $('.side-sub-menu').find('a[href="{:U('index')}"]').closest('li').addClass('current');
    </script>
</block>
